TEMPLATE = app
CONFIG += link_prl \
    debug
TARGET = qcm
MOC_DIR = build/moc
unix:OBJECTS_DIR = build/o/unix
win32 {
    OBJECTS_DIR = build/o/win32
    QMAKE_LINK_OBJECT_SCRIPT = build/o/win32/object_script
}
UI_DIR = build/ui
RCC_DIR = build/rcc
DESTDIR = bin
LIBS += -L../qcm_core/bin \
    -lqcm_core
INCLUDEPATH += src
SOURCES = src/models/impl/Repository.cpp \
    src/windows/impl/AddRepositoryDialog.cpp \
    src/widgets/impl/RepositoryPropertiesWidget.cpp \
    src/windows/impl/MainWindow.cpp \
    src/widgets/impl/RepositoryInfoWidget.cpp \
    src/widgets/impl/RepositoriesListWidget.cpp \
    src/presenters/impl/RepositoriesListPresenter.cpp \
    src/presenters/impl/MainWindowPresenter.cpp \
    src/main.cpp
FORMS = ui/AddRepositoryDialog.ui \
    ui/RepositoryPropertiesWidget.ui \
    ui/RepositoryInfoWidget.ui \
    ui/RepositoriesListWidget.ui \
    ui/MainWindow.ui
RESOURCES = rc/images.qrc
HEADERS = src/models/Repository.h \
    src/windows/AddRepositoryDialog.h \
    src/widgets/RepositoryPropertiesWidget.h \
    ../common/services/impl/RepositoryService.h \
    ../common/services/IRepositoryService.h \
    ../common/models/dto/RepositoryDto.h \
    ../common/services/IBaseService.h \
    ../common/services/ServiceLocator.h \
    src/presenters/RepositoriesListPresenter.h \
    src/views/IRepositoriesListView.h \
    src/widgets/RepositoryInfoWidget.h \
    src/widgets/RepositoriesListWidget.h \
    src/views/IMainWindowView.h \
    src/presenters/MainWindowPresenter.h \
    src/presenters/AbstractPresenter.h \
    src/windows/MainWindow.h
